
<style>

table.cmi{
    width:98%;
    border-collapse: separate;
    border-spacing:  3px;
    border:1px;
    margin:15px;
}

table.cmi td{
    background: #f2f5f7
}

table.cmi tr.cabecera th{
    padding:10px;
}

table.cmi tr.head-left{
    height:80px;
}
table.cmi tr.head-left th{
    font-size:2em;
    vertical-align: middle;
}

table.cmi td.numero{
    font-size:3em;
    font-weight:bold;
    vertical-align: middle;
    text-align:center
}


</style>




<table class="cmi">
<caption>
<h1 class="h1_head ui-widget-header" style="">
<?=$this->translate('Cuenta de Resultados');?>
</h1>
<br /><small><sub>* Todos los datos en millones de euros</sub></small>
</caption>
<tr class="ui-widget-header cabecera">
    <th width="16%"></th>
    <th width="21%"><?php echo $this->translate('Venta');?></th>
    <th width="21%"><?php echo $this->translate('Coste');?></th>
    <th width="21%"><?php echo $this->translate('Margen Bruto');?></th>
    <th width="21%"><?php echo $this->translate('Imputación');?></th>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Alojamiento');?></th>
    <td class="numero">????</td>
    <td class="numero"><?=$this->numES($this->alojamiento['ytd']['A']['coste'],0)?></td>
    <td class="numero">????</td>
    <td class="numero">????</td>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Energia');?></th>
    <td></td>
    <td class="numero"><?=$this->numES($this->electricidad['ytd']['A']['coste'],0)?></td>
    <td class="numero"><?=$this->numES($this->marge_bruto_electricidad['acumulado_estimado']/1000,0)?></td>
    <td class="numero">????</td>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Datos / MMR');?></th>
    <td class="numero">????</td>
    <td class="numero"><?=$this->numES($this->mmr['ytd']['A']['coste'],0)?></td>
    <td class="numero"><?=$this->numES($this->marge_bruto_mmr['acumulado_estimado']/1000,0)?></td>
    <td class="numero">????</td>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Utility');?></th>
    <td class="numero">????</td>
    <td class="numero">????</td>
    <td class="numero">????</td>
    <td class="numero">????</td>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Total');?></th>
    <td></td>
    <td>
        <div class="ui-state-highlight" style="text-align: center;"><?=$this->total['ytd']['chart_saldo']['titulo']?></div>
        <img src="<?=$this->total['ytd']['chart_saldo']['chart']?>"/>
    
    </td>
    <td></td>
    <td></td>
</tr>
</table>



<table class="cmi">
<caption>
<h1 class="h1_head ui-widget-header">
<?=$this->translate('Inactividad');?>
</h1>
</caption>
<tr class="ui-widget-header cabecera">
    <th width="16%"></th>
    <th width="42%"></th>
    <th width="42%"></th>

</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Inactividad');?></th>
    <td class="numero">????</td>
    <td class="numero">????</td>

</tr>

</table>





<table class="cmi">
<caption>
<h1 class="h1_head ui-widget-header" style="">
<?=$this->translate('Gestión de Inversiones');?>
</h1>
</caption>
<tr class="ui-widget-header cabecera">
    <th width="16%"></th>
    <th width="21%"><?php echo $this->translate('Venta');?></th>
    <th width="21%"><?php echo $this->translate('Coste');?></th>
    <th width="21%"><?php echo $this->translate('Margen Bruto');?></th>
    <th width="21%"><?php echo $this->translate('Imputación');?></th>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Inversiones');?></th>
    <td class="numero">????</td>
    <td class="numero">????</td>
    <td class="numero">????</td>
    <td class="numero">????</td>
</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('Amortizaciones');?></th>
    <td class="numero">????</td>
    <td class="numero">????</td>
    <td class="numero">????</td>
    <td class="numero">????</td>
</tr>

</table>



<table class="cmi">
<caption>
<h1 class="h1_head ui-widget-header" style="">
<?=$this->translate('PUE');?>
</h1>
</caption>
<tr class="ui-widget-header cabecera">
    <th width="16%"></th>
    <th width="42%"><?=$this->chart['ytd']['titulo']?></th>
    <th width="42%"><?=$this->chart['C']['titulo']?></th>

</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('PUE');?></th>
    <td><img src="<?=$this->chart['ytd']['chart']?>"/><br /><?=$this->chart['ytd']['mas']?></td>
    <td><img src="<?=$this->chart['C']['chart']?>"/><br /><?=$this->chart['C']['mas']?></td>

</tr>

</table>


<table class="cmi">
<caption>
<h1 class="h1_head " style="">
<?=$this->translate('SLA');?>
</h1>
</caption>
<tr class="ui-widget-header cabecera">
    <th width="16%"></th>
    <th width="42%"><?php echo $this->translate('Electricidad');?></th>
    <th width="42%"><?php echo $this->translate('Climatización');?></th>

</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('SLA');?></th>
    <td class="numero">????</td>
    <td class="numero">????</td>

</tr>

</table>


<table class="cmi">
<caption>
<h1 class="h1_head ui-widget-header">
<?=$this->translate('Ejecución - Producción - Cobro');?>
</h1>
</caption>
<tr class="ui-widget-header cabecera">
    <th width="16%">????</th>
    <th width="42%">????</th>
    <th width="42%">????</th>

</tr>

<tr class="head-left">
    <th class="ui-state-hover"><?php echo $this->translate('EPC');?></th>
    <td class="numero">????</td>
    <td class="numero">????</td>

</tr>

</table>